<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" /> 
  <meta charset="UTF-8" /> 
  <title>Google搜索</title> 
  <style>
    * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html,body {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
}
a{
  color :#c6c6c6;
  text-decoration: none;
}
.box {
  margin:0px auto;
  max-width: 640px;
  text-align: center;
}

input.bdbtn {
  height: 42px;
  line-height: 42px;
  font-size: 16px;
  padding: 0 10px;
  margin: 0;
  outline: none;
  text-align: center;
  color: #fff;
  border-radius: 0px 21px 21px 0px;
  background: #3b78e7;
  border: 1px solid #3b78e7;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  outline-style: none ;
}

input.bdtext {
  display: block;
  width: 100%;
  height: 42px;
  margin: 0;
  padding: 7px 42px 7px 6px;
  line-height: 28px;
  resize: none;
  overflow: hidden;
  -webkit-border-radius: 21px 0px 0px 21px;
  border-radius: 21px 0px 0px 21px;
  font-family: Arial, Helvetica, sans-serif;
  border: 1px solid rgba(0, 0, 0, .2);
  border-right: 0px;
  outline-style: none ;
}

#indexForm {
  margin: 0 16px;
  height: 44px;
  background: #fff;
}

#keywordWrap {
  width: 100%;
  display: block;
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  box-flex: 1;
}

.con-wrap {
  width: 100%;
  display: -moz-box;
  display: -webkit-box;
  display: box;
}   
  </style> 
 </head> 
 <body>
  <div style="height: 200px;"></div>
  <div class="box"> 
   <div class="inbox"> 
    <img src="https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_160x56dp.png" width="180px" style="margin-bottom: 30px;" /> 
    <form id="indexForm" action="https://www.google.com/search"> 
     <div class="con-wrap">
      <div id="keywordWrap"> 
       <input class="bdtext" type="text" name="q" AUTOCOMPLETE="off"/> 
      </div> 
      <input class="bdbtn" type="submit" value="搜索" /> 
     </div> 
    </form> 
   </div> 
  </div> 
    <div style="position: absolute; right:5px; top:5px;"><a href="baidu.html">切换至Baidu</div>
 </body>
</html>
